Sharing some naming conventions enables teams to collaborate more efficiently. This rule checks that all struct
names match a provided
regular expression.
Noncompliant code example
Using the default regular expression ^[A-Z][a-zA-Z0-9]*$
:
struct myStruct {
int one;
int two;
};
Compliant solution
struct MyStruct {
int one;
int two;
};